/**
 * Copyright (c) 华南农业大学信息学院蔡超敏2015版权所有
 * 
 * 文件创建时间：2015年5月3日
 */
package org.scauinfo.fpos.model;

import org.scauinfo.fpos.vo.Product;

/**
 * @author 蔡超敏
 * 
 */
public class SaleorderitemModel {
	private Integer id;
//	private Product product;
	private String productId;
	private String productName;
	private Double productPrice;
	private String image;

	private String productTypeId;
	private String typeName;
	private String productTypeDescription;
	

	private Integer state;
	private Integer count;
	private String description;

	

	/**
	 * @return the state
	 */
	public Integer getState() {
		return state;
	}

	/**
	 * @param state the state to set
	 */
	public void setState(Integer state) {
		this.state = state;
	}

	/**
	 * @param id
	 * @param productId
	 * @param productName
	 * @param productPrice
	 * @param image
	 * @param productTypeId
	 * @param typeName
	 * @param productTypeDescription
	 * @param count
	 * @param description
	 */
	public SaleorderitemModel(Integer id, String productId, String productName,
			Double productPrice, String image, String productTypeId,
			String typeName, String productTypeDescription, Integer count,
			String description) {
		super();
		this.id = id;
		this.productId = productId;
		this.productName = productName;
		this.productPrice = productPrice;
		this.image = image;
		this.productTypeId = productTypeId;
		this.typeName = typeName;
		this.productTypeDescription = productTypeDescription;
		this.count = count;
		this.description = description;
	}

	/**
	 * @return the productId
	 */
	public String getProductId() {
		return productId;
	}

	/**
	 * @param productId the productId to set
	 */
	public void setProductId(String productId) {
		this.productId = productId;
	}

	/**
	 * @return the productName
	 */
	public String getProductName() {
		return productName;
	}

	/**
	 * @param productName the productName to set
	 */
	public void setProductName(String productName) {
		this.productName = productName;
	}

	/**
	 * @return the productPrice
	 */
	public Double getProductPrice() {
		return productPrice;
	}

	/**
	 * @param productPrice the productPrice to set
	 */
	public void setProductPrice(Double productPrice) {
		this.productPrice = productPrice;
	}

	/**
	 * @return the image
	 */
	public String getImage() {
		return image;
	}

	/**
	 * @param image the image to set
	 */
	public void setImage(String image) {
		this.image = image;
	}

	/**
	 * @return the productTypeId
	 */
	public String getProductTypeId() {
		return productTypeId;
	}

	/**
	 * @param productTypeId the productTypeId to set
	 */
	public void setProductTypeId(String productTypeId) {
		this.productTypeId = productTypeId;
	}

	/**
	 * @return the typeName
	 */
	public String getTypeName() {
		return typeName;
	}

	/**
	 * @param typeName the typeName to set
	 */
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	/**
	 * @return the productTypeDescription
	 */
	public String getProductTypeDescription() {
		return productTypeDescription;
	}

	/**
	 * @param productTypeDescription the productTypeDescription to set
	 */
	public void setProductTypeDescription(String productTypeDescription) {
		this.productTypeDescription = productTypeDescription;
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}


	/**
	 * @return the count
	 */
	public Integer getCount() {
		return count;
	}

	/**
	 * @param count
	 *            the count to set
	 */
	public void setCount(Integer count) {
		this.count = count;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description
	 *            the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

}
